package model.command;
import controller.KeyListeners.KeyListenerSet;
import model.map.Direction;
import model.playable.Playable;
/**
 * Defines the attributes common to all combat commands.
 *
 * @author joseph
 */
public abstract class Combat extends PlayableCommand implements DirectionalCommand{
    private Direction direction;
    /**
     * Initiates this combat command.
     * 
     * @param listeners
     * @param playable
     */
    public Combat(Playable playable){
        super(playable);
    }
    /**
     * Returns the direction associated with this command.
     *
     * @return
     */
    public Direction getDirection(){
        return direction;
    }
    /**
     * Sets the direction in which to execute this command.
     *
     * @param direction
     */
    public void setDirection(Direction direction){
        this.direction = direction;
    }

}
